package com.tlx.app;

import java.io.File;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.redis.core.StringRedisTemplate;

import cn.hutool.core.io.FileUtil;

@SpringBootApplication
@EnableAutoConfiguration
@ComponentScan(basePackages = { "com.tlx" })
@SuppressWarnings({ "rawtypes", "unused" })
public class TlxTestService {

    @Autowired
    private StringRedisTemplate stringRedisTemplate;

    public static void main(String[] args) throws Exception {
        System.out.println(FileUtil.getType(new File("D:/0/a.mp4")));

    }

}
